package com.xxgc.eow.service;

import com.xxgc.eow.entity.Article;
import com.xxgc.eow.entity.Likearticle;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 点赞文章表 服务类
 * </p>
 *
 * @author Mr.Abel
 * @since 2023-05-25
 */
public interface ILikearticleService extends IService<Likearticle> {
    int insertLikeArticle(Likearticle likearticle);

    Integer getArticleById(int articleId);

    int updateLike(int articleId,int likeNum);

    int delLikeArticle(Likearticle likearticle);

    Likearticle selectTfData(Likearticle likearticle);
}
